package com.dongdongshop.service;

import com.dongdongshop.page.PageResult;
import com.dongdongshop.pojo.TbGoods;
import com.dongdongshop.pojo.TbGoodsDesc;
import com.dongdongshop.pojo.TbItem;
import com.dongdongshop.vo.GoodsVo;

import java.util.List;

public interface TbGoodsService {
    void addGoodsAndGoodsDesc(TbGoods good, TbGoodsDesc tgd, List<TbItem> tbItems);

    PageResult<GoodsVo> listGoods(Integer pageNum, Integer pageSize, String name);

    void updateAudit(Long[] ids);

    void updateAuditNo(Long[] ids);

    TbGoods selectGoodsById(Long id);
}
